package com.example.papercut.service.impl.dimension;

import com.example.papercut.entity.dimension.PCTechnique;
import com.example.papercut.mapper.dimension.PCTechniqueMapper;
import com.example.papercut.service.dimension.DimensionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class PCTechniqueServiceImpl implements DimensionService<PCTechnique> {

    private final PCTechniqueMapper TechniqueMapper;

    @Autowired
    public PCTechniqueServiceImpl(PCTechniqueMapper TechniqueMapper) {
        this.TechniqueMapper = TechniqueMapper;
    }

    @Override
    public List<PCTechnique> findAll() {
        return TechniqueMapper.findAll();
    }
}